/**克隆对象或者数组 【解决从接口拿来的数据不可扩展】**/
export function cloneObj (obj) {
		    var newObj = {};
		    if (obj instanceof Array) {
		      newObj = [];
		    }
		    for (var key in obj) {
		      var val = obj[key];
		      newObj[key] = typeof val === 'object' ? cloneObj(val) : val;
		    }
		    return newObj;
		  }